package com.ChengXiZi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
 * 帖子表新增DTO
 *
 * @author ChengX
 * @since 2025-04-21 10:27:12
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Post新增对象", description = "帖子表新增DTO")
public class PostAddDTO {

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("作者id")
    private Long userId;

    @ApiModelProperty("所属社区id")
    private Long communityId;
}
